<?php
/* 艺汇网 - 发现    自定义函数库
* @Author: ldm
* @Date:   2014-05-31 15:07:28
* @Last Modified by:   ldm
* @Last Modified time: 2014-05-31 15:10:41
*/

/**
 * [clear_discover_cache 删除发现板块缓存文件]
 * @return [type] [description]
 */
function clear_discover_cache() {
	$tpl = dir(DISCUZ_ROOT.'./data/sysdata/ii_discover/');
	while($entry = $tpl->read()) {
			@unlink(DISCUZ_ROOT.'./data/sysdata/ii_discover/'.$entry);
	}
	$tpl->close();
}
?>
